//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04B
TN_Widget.CreateTable([['William Porter','Blues Alley','Washington, DC','Monday','5/6/2024','7:00 PM','6253176','William-Porter-5-6-2024'],['William Porter','Blues Alley','Washington, DC','Monday','5/6/2024','9:00 PM','6253177','William-Porter-5-6-2024'],['The Howard Levy 4','Blues Alley','Washington, DC','Wednesday','5/8/2024','7:00 PM','6301014','The-Howard-Levy-4-5-8-2024'],['The Howard Levy 4','Blues Alley','Washington, DC','Wednesday','5/8/2024','9:00 PM','6301015','The-Howard-Levy-4-5-8-2024'],['Alison Crockett','Blues Alley','Washington, DC','Thursday','5/9/2024','7:00 PM','6301008','Alison-Crockett-5-9-2024'],['Alison Crockett','Blues Alley','Washington, DC','Thursday','5/9/2024','9:00 PM','6301009','Alison-Crockett-5-9-2024'],['CarrKeys','Blues Alley','Washington, DC','Tuesday','5/14/2024','7:00 PM','6301010','CarrKeys-5-14-2024'],['CarrKeys','Blues Alley','Washington, DC','Tuesday','5/14/2024','9:00 PM','6301011','CarrKeys-5-14-2024'],['Chris Standring','Blues Alley','Washington, DC','Wednesday','5/15/2024','7:00 PM','6253181','Chris-Standring-5-15-2024'],['Chris Standring','Blues Alley','Washington, DC','Wednesday','5/15/2024','9:00 PM','6253182','Chris-Standring-5-15-2024'],['Yoko Miwa','Blues Alley','Washington, DC','Thursday','5/16/2024','7:00 PM','6253183','Yoko-Miwa-5-16-2024'],['Yoko Miwa','Blues Alley','Washington, DC','Thursday','5/16/2024','9:00 PM','6253184','Yoko-Miwa-5-16-2024'],['Rick Estrin and The Nightcats','Moe's Alley','Santa Cruz, CA','Sunday','5/19/2024','3:00 PM','6377281','Rick-Estrin-and-The-Nightcats-5-19-2024'],['Brazilian Jazz Series','Blues Alley','Washington, DC','Monday','5/20/2024','TBD','6253201','Brazilian-Jazz-Series-5-20-2024'],['Brazilian Jazz Series','Blues Alley','Washington, DC','Tuesday','5/21/2024','TBD','6253202','Brazilian-Jazz-Series-5-21-2024'],['Brazilian Jazz Series','Blues Alley','Washington, DC','Wednesday','5/22/2024','TBD','6253203','Brazilian-Jazz-Series-5-22-2024'],['Brazilian Jazz Series','Blues Alley','Washington, DC','Thursday','5/23/2024','TBD','6253204','Brazilian-Jazz-Series-5-23-2024'],['Helio Alves','Blues Alley','Washington, DC','Thursday','5/23/2024','7:00 PM','6301012','Helio-Alves-5-23-2024'],['Helio Alves','Blues Alley','Washington, DC','Thursday','5/23/2024','9:00 PM','6301013','Helio-Alves-5-23-2024'],['Duduka Da Fonseca Quarteto Universal','Blues Alley','Washington, DC','Friday','5/24/2024','7:00 PM','6253207','Duduka-Da-Fonseca-Quarteto-Universal-5-24-2024'],['Duduka Da Fonseca Quarteto Universal','Blues Alley','Washington, DC','Friday','5/24/2024','9:00 PM','6253208','Duduka-Da-Fonseca-Quarteto-Universal-5-24-2024'],['Bill Evans','Blues Alley','Washington, DC','Saturday','6/1/2024','7:00 PM','6253216','Bill-Evans-6-1-2024'],['Bill Evans','Blues Alley','Washington, DC','Saturday','6/1/2024','9:00 PM','6253218','Bill-Evans-6-1-2024'],['Bill Evans','Blues Alley','Washington, DC','Sunday','6/2/2024','7:00 PM','6253217','Bill-Evans-6-2-2024'],['Bill Evans','Blues Alley','Washington, DC','Sunday','6/2/2024','9:00 PM','6253219','Bill-Evans-6-2-2024'],['Langston Hughes II','Blues Alley','Washington, DC','Saturday','6/8/2024','7:00 PM','6253239','Langston-Hughes-II-6-8-2024'],['Langston Hughes II','Blues Alley','Washington, DC','Saturday','6/8/2024','9:00 PM','6253241','Langston-Hughes-II-6-8-2024'],['Langston Hughes II','Blues Alley','Washington, DC','Sunday','6/9/2024','7:00 PM','6253240','Langston-Hughes-II-6-9-2024'],['Langston Hughes II','Blues Alley','Washington, DC','Sunday','6/9/2024','9:00 PM','6253246','Langston-Hughes-II-6-9-2024'],['David W Chappell','Blues Alley','Washington, DC','Wednesday','6/12/2024','7:00 PM','6322862','David-W-Chappell-6-12-2024'],['David W Chappell','Blues Alley','Washington, DC','Wednesday','6/12/2024','9:00 PM','6322863','David-W-Chappell-6-12-2024'],['Kirk Whalum','Blues Alley','Washington, DC','Friday','6/21/2024','7:00 PM','6253250','Kirk-Whalum-6-21-2024'],['Kirk Whalum','Blues Alley','Washington, DC','Friday','6/21/2024','9:00 PM','6253254','Kirk-Whalum-6-21-2024'],['Kirk Whalum','Blues Alley','Washington, DC','Saturday','6/22/2024','7:00 PM','6253251','Kirk-Whalum-6-22-2024'],['Kirk Whalum','Blues Alley','Washington, DC','Saturday','6/22/2024','9:00 PM','6253255','Kirk-Whalum-6-22-2024'],['Kirk Whalum','Blues Alley','Washington, DC','Sunday','6/23/2024','7:00 PM','6253252','Kirk-Whalum-6-23-2024'],['Kirk Whalum','Blues Alley','Washington, DC','Sunday','6/23/2024','9:00 PM','6253256','Kirk-Whalum-6-23-2024'],['Levon Mikaelian','Blues Alley','Washington, DC','Wednesday','6/26/2024','7:00 PM','6337989','Levon-Mikaelian-6-26-2024'],['Levon Mikaelian','Blues Alley','Washington, DC','Wednesday','6/26/2024','9:00 PM','6337990','Levon-Mikaelian-6-26-2024'],['The Boneshakers','Blues Alley','Washington, DC','Tuesday','7/9/2024','9:00 PM','6337998','The-Boneshakers-7-9-2024'],['JJ Sansaverino & Vivian Sessoms','Blues Alley','Washington, DC','Sunday','7/28/2024','9:00 PM','6338000','JJ-Sansaverino---Vivian-Sessoms-7-28-2024'],['Marion Meadows','Blues Alley','Washington, DC','Friday','8/2/2024','7:00 PM','6301023','Marion-Meadows-8-2-2024'],['Marion Meadows','Blues Alley','Washington, DC','Friday','8/2/2024','9:00 PM','6301024','Marion-Meadows-8-2-2024'],['Marion Meadows','Blues Alley','Washington, DC','Saturday','8/3/2024','7:00 PM','6301025','Marion-Meadows-8-3-2024'],['Marion Meadows','Blues Alley','Washington, DC','Saturday','8/3/2024','9:00 PM','6301026','Marion-Meadows-8-3-2024'],['Marion Meadows','Blues Alley','Washington, DC','Sunday','8/4/2024','7:00 PM','6301027','Marion-Meadows-8-4-2024'],['Marion Meadows','Blues Alley','Washington, DC','Sunday','8/4/2024','9:00 PM','6301028','Marion-Meadows-8-4-2024'],['Eric Darius','Blues Alley','Washington, DC','Thursday','8/22/2024','8:00 PM','6337958','Eric-Darius-8-22-2024'],['Eric Darius','Blues Alley','Washington, DC','Friday','8/23/2024','7:00 PM','6337959','Eric-Darius-8-23-2024'],['Eric Darius','Blues Alley','Washington, DC','Friday','8/23/2024','9:00 PM','6337960','Eric-Darius-8-23-2024'],['Mildlife','Moe's Alley','Santa Cruz, CA','Wednesday','10/2/2024','8:00 PM','6355476','Mildlife-10-2-2024']],'Jazz Alley','http://www.ticketnetwork.com/ticket/Jazz-Alley-events.aspx');